extends Control

var Transiton := preload("res://Scenes/UI/TransitionScene.tscn")

func after_animate() -> void:
	var transition_packed :Transition= Transiton.instantiate()
	transition_packed.next_scene_path = "res://Scenes/Menu/main_menu.tscn"
	transition_packed.is_show_prograss = true
	transition_packed.is_stage_transition = false
	add_child(transition_packed)
